package com.pipayshop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pipayshop.domain.ShopCollection;
import com.pipayshop.domain.vo.ShopCommodityCollectionVo;
import com.pipayshop.entity.vo.PageDataVO;

import java.util.List;

/**
 * @author xiaoqiu
 * @date 2024/9/20 15:01
 * @description
 */
public interface OnlineStoreShopCollectionService extends IService<ShopCollection> {
    int AddShopCommodityToCollection(String userId, String commodityId);

    int closeShopCommodityToCollection(String userId, String commodityId);

    boolean isShopCommodityToCollection(String userId, String commodityId);

//    List<ShopCommodityCollectionVo> selectAllCollection(String userId);

    PageDataVO selectAllCollection(Integer page, Integer limit, String userId);
}
